package com.system.healthproject.model.admin.service;

import com.system.healthproject.bean.AddHospitalParameter;
import com.system.healthproject.bean.ResultHospital;
import com.system.healthproject.bean.ResultHospitalIdName;
import com.system.healthproject.bean.ResultHospitalInfo;

import java.util.List;

public interface HospitalService {
    List<ResultHospital> selectAllHospital(String hospitalName, String hospitalLevel, String hospitalAddress, String hospitalNickname, String createTime, Integer currentPage, Integer limit);

    Integer countHospital(String hospitalName, String hospitalLevel, String hospitalAddress, String hospitalNickname, String createTime, Integer currentPage, Integer limit);

    String updateHospital(Integer hospitalId,String hospitalName, String hospitalLevel, String hospitalAddress, String hospitalNickname, String createTime);

    List<ResultHospitalIdName> selectHospitalIdName();

    String addHospital(AddHospitalParameter addHospitalParameter);

    List<ResultHospitalInfo> selectByIdHospital(Integer hospitalId);

    String deleteHospital(Integer hospitalId);
}
